<template>
  <div>
  <el-row>
    <el-container>
      <el-aside width="200px"></el-aside>
      <el-main>
        <!--<h2 style="float: left">热门新碟</h2>-->
      <font size="8px" style="float: left">热门新碟</font>
    <!-- <el-divider style="color: red"></el-divider>-->
    <el-col><div>


        <el-col :span="4" v-for="(o, index) in 8" :key="o" :offset="index > 0 ? 2 : 2">
          <el-card :body-style="{ padding: '10px' }">
            <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">
              <span style="height: 50px">好吃的汉堡</span>
              <div class="bottom clearfix">
                <el-button type="text" class="button">操作按钮</el-button>
              </div>

          </el-card>
        </el-col>
      </div>
    </el-col>
        <br> <br>
    <el-col :span="24"><div>
      <font size="10px" style="float: left">全部新碟</font><br>
      <el-divider style="color: red;border: 0px"></el-divider>
      <div>
        <el-col :span="4" v-for="(o, index) in 8" :key="o" :offset="index > 0 ? 2 : 2">
          <el-card :body-style="{ padding: '10px' }">
            <img src="https://shadow.elemecdn.com/app/element/hamburger.9cf7b091-55e9-11e9-a976-7f4d0b07eef6.png" class="image">

              <span>好吃的汉堡</span>
              <div class="bottom clearfix">

                <el-button type="text" class="button">操作按钮</el-button>

            </div>
          </el-card>
        </el-col>
      </div>
    </div></el-col>

    <!--<div>
      <font size="10px">全部新碟</font>
      <el-divider style="color: red"></el-divider>
    </div>-->
      </el-main>
      <el-aside width="200px"></el-aside>
    </el-container>

  </el-row>


  </div>
</template>
<!--<link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
<script src="https://unpkg.com/element-ui/lib/index.js"></script>-->

<script>
    export default {
        name: "xindie",
      data() {
        return {
          input: '',
          currentDate: new Date(),
          url:'static/logo2.png'
        }
      }
    }
</script>

<style scoped>
  .el-row {
    margin-bottom: 20px;
 /* &:last-child {
     margin-bottom: 0;
   }*/
  }
  .el-col {
    border-radius: 4px;
  }
  .bg-purple-dark {
    background: #242424;
  }
  .bg-purple {
    background: white;
  }
  .bg-purple-light {
    background: white;
  }
  .grid-content {
    border-radius: 4px;
    min-height: 80px;
  }
  .grid-content1 {
    border-radius: 4px;
    min-height: 50px;
    background-color: red;
  }
  .grid-content2 {
    border-radius: 4px;
    min-height: 80px;
    background-color: #48ff43;
  }
  .grid-content3 {
    border-radius: 4px;
    min-height: 80px;
    background-color: #1affbc;
  }
  .row-bg {
    padding: 10px 0;
    background-color: #fff;
  }
  .el-main {
      background-color: white;
    color: #333;
    text-align: center;
    line-height: 50px;
  }
  .time {
    font-size: 13px;
    color: #999;
  }

  .bottom {
    margin-top: 13px;
    line-height: 12px;
  }

  .button {
    padding: 0;
    float: right;
  }

  .image {
    width: 100%;
    display: block;
  }

  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
  }

  .clearfix:after {
    clear: both
  }

</style>
